package com.atguigu.xuexiplus.service;

import com.atguigu.xuexiplus.entity.ChatMessageEntity;

import java.util.List;

public interface ChatMessageService {
    void saveMessage(ChatMessageEntity msg);
    List<ChatMessageEntity> listHistory(Long fromUserId, Long toUserId, int page, int size);
}


